package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
@Schema(
        name = "College",
        title = "高校表",
        description = ""
)
@TableName(value = "all_college")
public class College {

    @Schema(title = "高校id", description = "")
    @TableId(value = "college_id")
    private Long id;

    @Schema(title = "数据作者id", description = "")
    @TableField(value = "author_info_id")
    private Long authorInfoId;

    @Schema(title = "学校名称", description = "")
    @TableField(value = "college_name")
    private String name;

    @Schema(title = "学校别名", description = "")
    @TableField(value = "college_alias")
    private String alias;

    @Schema(title = "学校简介", description = "")
    @TableField(value = "college_intro")
    private String intro;

    @Schema(title = "学校地址", description = "")
    @TableField(value = "college_address")
    private String address;

    @Schema(title = "百度位置uid", description = "")
    @TableField(value = "college_baidu_uid")
    private String uid;
}
